package com.lcd.ssm.service.impl;

import com.lcd.ssm.domain.Menu;
import com.lcd.ssm.mapper.MenuMapper;
import com.lcd.ssm.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MenuServiceImpl implements IMenuService {
    @Autowired
    private MenuMapper menuMapper;
    @Override
    public List<Menu> queryForRoot() {
        return menuMapper.queryForRoot();
    }
}
